<include file="Public:basehead" />
<div class="content">
	<div class="cLineB">
		<h4>
			优惠信息
		</h4>
	</div>
	
	<div class="cLineC" style="line-height: 32px;">
		<a href="{cms>:U('Discount/add')}" class="btnGreen">添加优惠信息</a>
	</div>
	
	<div class="msgWrap">
		<table class="ListProduct" border="0" cellSpacing="0" cellPadding="0" width="100%">
			<thead>
				<tr>
					<th>标题</th>
					<th>开始日期</th>
					<th>结束日期</th>
					<th>地区</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>
			<volist name="models" id="model">
				<tr>
					<td>{cms>$model.title}</td>
					<td>{cms>$model.start|date='Y-m-d',###}</td>
					<td>{cms>$model.end|date='Y-m-d',###}</td>
					<td>{cms>$model.city}</td>
					<td>
						<a href="{cms>:U('Discount/edit',array('id'=>$model['id']))}" class="btnGreens">修改</a>
						<a href="{cms>:U('Discount/del',array('id'=>$model['id']))}" class="btnGrayS">删除</a>
					</td>
				</tr>
			</volist>
				
			</tbody>
		</table>
	</div>
	
	<div class="cLine">
		<div class="pageNavigator right">
			<div class="pages">{cms>$page}</div>
		</div>
		<div class="clr"></div>
	</div>
</div>
<div class="clr"></div>

<include file="Public:footer" />
